from time import sleep

from javdb.details import DetailPage
from javdb import config


def run():
    javdb_wuma_japan_daily_ranking = config["javdb_wuma_japan_daily_ranking"]["start_url"]
    japan_daily_ranking = DetailPage(javdb_wuma_japan_daily_ranking)
    japan_daily_ranking.on_start().detail_results()  # 实现链式调用


if __name__ == '__main__':
    run()